
<%var csstpl = {%>
    <link href="${basepath}/vendor/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <style>
    	.empty { height:400px; background:url("${basepath}/vendor/img/list_empty.png") no-repeat center; }
    </style>
<%};%>
<%var jstpl = {%>
<!--     <script src="${basepath}/index/script/login.js"></script>
    <script src="${basepath}/plug/dist/jquery.validate.min.js"></script>
    <script src="${basepath}/plug/dist/localization/messages_zh.js"></script> -->
<!--     <script src="${basepath}/vendor/js/jquery.min.js?v=2.1.4"></script>
    <script src="${basepath}/vendor/js/bootstrap.min.js?v=3.3.6"></script>
    <script src="${basepath}/vendor/js/plugins/metisMenu/jquery.metisMenu.js"></script>
    <script src="${basepath}/vendor/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
    <script src="${basepath}/vendor/js/plugins/layer/layer.min.js"></script>
    <script src="${basepath}/vendor/js/hplus.min.js?v=4.1.0"></script>
    <script  src="${basepath}/vendor/js/contabs.min.js"></script>
    <script src="${basepath}/vendor/js/plugins/pace/pace.min.js"></script> -->
    <script>
       //$(document).ready(function(){$("#loading-example-btn").click(function(){btn=$(this);simpleLoad(btn,true);simpleLoad(btn,false)})});function simpleLoad(btn,state){if(state){btn.children().addClass("fa-spin");btn.contents().last().replaceWith(" Loading")}else{setTimeout(function(){btn.children().removeClass("fa-spin");btn.contents().last().replaceWith(" Refresh")},2000)}};
    </script>
<%};%>
<%layout("../layout/_layout_mall.html",{title:'小金娱',jstpl:jstpl,csstpl:csstpl}){ %>


    <div class="wrapper wrapper-content animated fadeInUp">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox">
                    <div class="ibox-title">
                        <h5>订单统计列表</h5>
                        <!-- <div class="ibox-tools">
                            <a href="/system/product/edit" class="btn btn-primary btn-xs">创建新商品</a>
                        </div> -->
                    </div>
                   
                     <form type="post" action="/system/shopWithDraw" >
                    <div class="ibox-content">
                   
                        <div class="row m-b-sm m-t-sm">
                            <div class="col-lg-offset-11">
                                <button type="button" id="loading-example-btn" class="btn btn-white btn-sm"><i class="fa fa-refresh"></i> 刷新</button>
                            </div>
                            <!--<div class="col-md-11">
                                <div class="input-group">
                                    <input type="text" placeholder="请输入" name="product.product_name" value="${product.product_name!}" class="input-sm form-control"> <span class="input-group-btn">
                                        <button type="submit" class="btn btn-sm btn-primary"> 搜索</button> </span>
                                </div>
                            </div>-->
                        </div>
                       
                        <div class="project-list">

                            <table class="table table-hover">
							<tbody id="type">
								<thead>
                                     <tr>
                                     <th>支付总数</th>
                                     <th>支付金额</th>
                                     <th>退款订单数</th>
                                     <th>订单总数</th>
                                     <th>类型数量</th>
                                     <th>日期</th>
                                    <!--   <th>操作 </th> -->
                                     </tr>
                                </thead>
                                
                                
                                <% for(obj in data.list){  %>
                                <tr>
                                   <td>${obj.shop_name!}</td>
                                   <td>${obj.pay_count!}</td>
                                   <td>${obj.pay_money!}</td>
                                   <td>${obj.refund_order_count!}</td>
                                   <td>${obj.order_count!}</td>
                                   <td>
                                   	  	网页:${obj.type_wangye!},
                               	    	app:${obj.type_app!},
                               	  	 	微信:${obj.type_weixin!}
                                   </td>
                                   <td>${obj.date!}</td>
								</tr>
                                <%  }   %>
                                    <!-- <tr>
                                    <td>1</td>
									<td class="project-status"><span
										class="label label-primary">进行中 </td>
									<td class="project-title t1">LIKE－一款能够让用户快速获得认同感的兴趣社交应用
										 </td>
										<td><small>创建于 2014.08.15</small></td>
									
									<td class="project-actions"><a  id="search1"   href="projects.html#"
										class="btn btn-white btn-sm"><i class="fa fa-folder"></i>
											保存 </a> <a href="#"  id="edit1"  class="btn btn-white btn-sm edit"><i
											class="fa fa-pencil"></i> 编辑 </a></td>
								</tr>
								<tr>
								    <td>2</td>
									<td class="project-status"><span
										class="label label-primary">进行中 </td>
									<td class="project-title"><a href="project_detail.html">米莫说｜MiMO
											Show</a>  </td>
									<td><small>创建于 2014.08.15</small></td>
									
									<td class="project-actions"><a href="projects.html#"
										class="btn btn-white btn-sm"><i class="fa fa-folder"></i>
											查看 </a> <a href="projects.html#" class="btn btn-white btn-sm"><i
											class="fa fa-pencil"></i> 编辑 </a></td>
								</tr>
								<tr>
								    <td>3</td>
									<td class="project-status"><span
										class="label label-default">已取消 </td>
									<td class="project-title"><a href="project_detail.html">商家与购物用户的交互试衣应用</a>
										</td>
									<td><small>创建于 2014.08.15</small></td>
									
									<td class="project-actions"><a href="projects.html#"
										class="btn btn-white btn-sm"><i class="fa fa-folder"></i>
											查看 </a> <a href="projects.html#" class="btn btn-white btn-sm"><i
											class="fa fa-pencil"></i> 编辑 </a></td>
								</tr> -->
								
							</tbody>
							    
                                </table>
                            <% if(isEmpty(data.list)){ %>
                        	<div class="empty"></div>
                        	<% } %>
                            </div>
                        </div>
                        <%include("/jsp/_paginate_mall.html"){}%>
                     </form>
                    </div>
                </div>
            </div>
        </div>
<!--     <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>
    <script src="js/content.min.js?v=1.0.0"></script> -->
    
    <script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>
   
<%}%>
<script>
$(function(){
	 //alert(88);
	$("#loading-example-btn").click(function(){
		window.location.reload();
	});
		 
})

</script>